﻿<UserControl x:Class="cpe.cpein.UI.Controls.UCPotentialContact"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300" Loaded="UserControl_Loaded">
    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="10" />
            <ColumnDefinition />
            <ColumnDefinition />
            <ColumnDefinition />
            <ColumnDefinition />
            <ColumnDefinition Width="10" />
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition Height="10" />
            <RowDefinition />
            <RowDefinition />
            <RowDefinition />
            <RowDefinition />
            <RowDefinition />
            <RowDefinition />
            <RowDefinition />
            <RowDefinition />
            <RowDefinition Height="10" />
        </Grid.RowDefinitions>
        <DataGrid SelectedValuePath="Id" RowHeight="30" IsReadOnly="True" AutoGenerateColumns="False" Name="ContactGrid" Background="White" Grid.Column="1" Grid.ColumnSpan="4" Grid.RowSpan="8" Margin="10,0,10,0" Grid.Row="1" VerticalAlignment="Stretch" BorderThickness="0">
            <DataGrid.Columns>
                <DataGridTextColumn Binding="{Binding Id}" FontSize="16" Visibility="Hidden"/>
                <DataGridTextColumn Binding="{Binding Name}" FontSize="16" MinWidth="80" />
                <DataGridTextColumn Binding="{Binding Lastname}" FontSize="16" MinWidth="80" />
            </DataGrid.Columns>
        </DataGrid>
    </Grid>
    
</UserControl>
